package booking.tests;

import static booking.utils.TestData.loginUrl;

import org.junit.After;
import org.junit.Before;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import booking.utils.Verificator;

public class BaseTest {
	protected static WebDriver driver;
	protected static Verificator verify;
	@Before
	public void beforeTest() {
		driver = new FirefoxDriver();
		verify = new Verificator();
		driver.get(loginUrl);
	}
	@After
	public void afterTest() {
		driver.quit();
	}
}
